<?php echo $this->doctype() ?>
<HTML>
<head>
<?php 
    if($this->pageTitle){
        $this->headTitle()->headTitle($this->escape($this->pageTitle));
    }
    $this->headTitle()->headTitle($this->escape($this->settings['siteName']));
    $this->headTitle()->headTitle($this->escape("Powered by DoudangQb"));
    echo $this->headTitle()->setSeparator(' - '); 
?>
<?php // setting content type and character set
    echo $this->headMeta()
        ->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8')
        ->appendHttpEquiv('Content-Language', 'zh-CN')
    ;
?>
<?php 
    echo $this->render('script_head-link.phtml');
    echo $this->headLink();
    echo $this->headStyle();
?>
<?php 
    $this->render('script_head-script.phtml');
    echo $this->headScript();
?>
</head>
<body>
    <?php echo $this->render('script_header-top.phtml');?>
    
    <div class="container">
        <?php echo $this->render('script_header-bottom.phtml');?>
    </div>
    
    <?php echo $this->layout()->content ?>
    
    <div class="container">
        <?php echo $this->render('script_footer.phtml');?>
    </div>
</body>
<?php echo $this->InlineScript();?>
</html>